using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Collections.Generic;

public class LoginUI_UICtrl : UICtrl {

	public override void Awake() {
		base.Awake();

	}

	void Start() 
	{
		//this.transform.GetComponent<Image>().color = new Color(200, 200, 200, 128);
		//this.transform.Find("logo").GetComponent<Image>().color = new Color(200f / 255f, 200f / 255f, 200f / 255f, 128f / 255f);
		this._AddEvents();
	}

	private void _AddEvents()
    {
		this.AddButtonListener("start_game",this._OnClickStartGame);
    }


	private void _OnClickStartGame()
    {
		Destroy(this.gameObject);

		UIMgr.Instance.ShowUIView("GameUI");

	}


}
